package com.dwyinyuan.domain.aggregate_user.service;

import com.dwyinyuan.interfaces.dto.*;


/**
 * 微信公众号：笛舞音缘
 * <p>
 * Excel导出服务接口
 * <p>
 * Created by andy  on 2020-12-16.
 */
public interface ExcelExportService {

    /**
     * 同步导出服务
     *
     * @param query
     * @param filename
     */
    void export(UserQueryDTO query, String filename);

    /**
     * 异步导出服务
     *
     * @param query
     * @param filename
     */
    void asyncExport(UserQueryDTO query, String filename);

}
